@extends('admin.layout.layout')
@section('content')
    <div class="col-lg-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            友情链接管理
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-6 col-sm-offset-3">
                                    <form role="form" action="{{url('/admin/link/insert')}}" method="post">
                                        <div class="form-group">
                                            <label>链接名称</label>
                                            <input class="form-control" name="linkname">
                                        </div>
                                        <div class="form-group">
                                            <label>链接地址</label>
                                            <input class="form-control" name="linkaddress">
                                        </div>
                                        
                                        <div class="form-group">
                                            <label>联系人</label>
                                            <input class="form-control" name="linkmen">
                                        </div>
                                        <div class="form-group">
                                            <label>email</label>
                                            <input class="form-control" name="email">
                                        </div>
                                        <div class="form-group">
                                            <label>审核状态</label>
                                            <select class="form-control" name="status">
                                                <option value="1">审核中</option>
                                                <option value="2">显示</option>
                                                <option value="3">不显示</option>
                                            </select>
                                        </div>
                                        {{ csrf_field() }}
                                        <button type="submit" class="btn btn-default">添加链接</button>
                                    </form>
                                </div>
                                </div>
                                <!-- /.col-lg-6 (nested) -->
                            </div>
                            <!-- /.row (nested) -->
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
@endsection